{"version":3,"sources":["block-header-entry.js"],"names":["BX","namespace","style","Landing","Utils","addClass","removeClass","onTransitionEnd","BlockHeaderEntry","node","this","headerNode","wrapperNode","parentNode","fixMomentNodes","querySelectorAll","FIX_MOMENT_SELECTOR","hiddenSectionsNodes","SECTION_HIDDEN_SELECTOR","mode","getMode","prevState","topPanel","document","querySelector","headerOffset","offsetHeight","HEADER_SELECTOR","STATE_IN_FLOW","STATE_ON_TOP","STATE_FIX_MOMENT","DIRECTION_TOP_TO_BOTTOM","DIRECTION_BOTTOM_TO_TOP","THRESHOLD_FULL","STICKY_CLASS","FLOAT_CLASS","MODE_STICKY","MODE_STICKY_RELATIVE","MODE_STATIC","IN_FLOW_CLASSES","ON_TOP_CLASSES","FIX_MOMENT_CLASSES","FIX_MOMENT_ADD_DATA","FIX_MOMENT_REMOVE_DATA","getHeaderNodeByWrapper","wrapper","prototype","getNodeForObserve","hasClass","getCurrentState","observerEntry","isIntersecting","isOnTop","intersectionRatio","boundingClientRect","top","getDirection","currentState","isOverScreen","height","rootBounds","setInFlow","onCustomEvent","data","setOnTop","headerHeight","opacity","overflow","then","hideSections","bind","Promise","all","setFixMoment","resolve","transitionPromises","push","forEach","classesToAdd","undefined","split","classesToRemove","unsetOnTop","unsetFixMoment","showSections","setProperty","removeProperty","onIntersection","entries","entry","blockHeaders","BlockHeaders","getInstance","currHeaderEntry","getEntryByIntersectionTarget","target","state","direction","scrollIntoView","behavior"],"mappings":"CAAC,WAEA,aAEAA,GAAGC,UAAU,cAEb,IAAIC,EAAQF,GAAGG,QAAQC,MAAMF,MAC7B,IAAIG,EAAWL,GAAGG,QAAQC,MAAMC,SAChC,IAAIC,EAAcN,GAAGG,QAAQC,MAAME,YACnC,IAAIC,EAAkBP,GAAGG,QAAQC,MAAMG,gBAEvCP,GAAGG,QAAQK,iBAAmB,SAASC,GAEtCC,KAAKC,WAAaF,EAClBC,KAAKE,YAAcH,EAAKI,WACxBH,KAAKI,eAAiBJ,KAAKE,YAAYG,iBA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